package com.cskaoyan.market.service;

import com.cskaoyan.market.db.domain.MarketCoupon;
import com.cskaoyan.market.vo.WxCouponUserVo;

import java.util.List;

public interface WxCouponService {
    List<MarketCoupon> list();

    List<WxCouponUserVo> mylist(Integer userId, Short status);

    Integer receive(Integer userId, Integer couponId);

    Integer exchange(Integer userId, String code);

    List<WxCouponUserVo> selectlist(Integer cartId, Integer userId);

    Integer couponProvide(Integer userId);

    void updateStatus(Integer id);
}
